package cn.edu.glut.user.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.edu.glut.entity.Major;

public interface MajorService {

	List<Major> findAll();

	void delete(String id);

	int update(Major m);

	Major findById(String id);

	Page<Major> list(Pageable pageable);

	int save(Major m);

}
